600
How can I display minutes


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:UnitWidth := 64
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 65536
oDCOCX_Exontrol1:Chart:[Level,1]:Label := 1048576

599
How can I display seconds, from 15 to 15

local var_Level as ILevel

oDCOCX_Exontrol1:Chart:FirstVisibleDate := "00:00"
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 1048576
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:Label := "<%ss%>"
	var_Level:Count := 15

598
How can I display seconds


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 1048576
oDCOCX_Exontrol1:Chart:[Level,1]:Label := "<%ss%>"

597
How can I display seconds


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:Label := 1048576
oDCOCX_Exontrol1:Chart:[Level,1]:Label := 16777216

596
How can I align the text being shown in the chart's header

local var_Level as ILevel

oDCOCX_Exontrol1:Chart:UnitWidth := 64
var_Level := oDCOCX_Exontrol1:Chart:[Level,0]
	var_Level:Label := "<b><%mmmm%></b> <r><%m%>"
	var_Level:Unit := exMonth
	var_Level:Alignment := LeftAlignment

595
How can I hide the tooltip being displayed in the chart's header

oDCOCX_Exontrol1:Chart:[Level,0]:ToolTip := ""

594
How can I change the tooltip being displayed in the chart's header

oDCOCX_Exontrol1:Chart:[Level,0]:ToolTip := "This is a bit of text that's shown when the cursor hovers the level"

593
How can I change the visual appearance of the chart's header, where levels are displayed, using your EBN files


oDCOCX_Exontrol1:VisualAppearance:Add(1,"c:\exontrol\images\normal.ebn")
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:BackColorLevelHeader := 0x1000000

592
How can I change the level's foreground color in the chart


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:ForeColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:[Level,1]:ForeColor := RGB(0,0,255)

591
How can I change the level's background color in the chart


oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,0]:BackColor := RGB(255,0,0)

590
How can I save data on XML format

oDCOCX_Exontrol1:LoadXML("http://www.exontrol.net/testing.xml")
oDCOCX_Exontrol1:SaveXML("c:/temp/exg2antt.xml")

589
How can I load data on XML format

oDCOCX_Exontrol1:LoadXML("http://www.exontrol.net/testing.xml")

588
How can I add icons or pictures to the scale or zoom area

local var_Chart as IChart
local var_Items as IItems

oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:OverviewHeight := 48
	var_Chart:OverviewVisible := exOverviewShowAllVisible
	var_Chart:AllowOverviewZoom := exZoomOnRClick
	var_Chart:OverviewZoomCaption := "Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec"
	var_Chart:[Label,exYear] := ""
	var_Chart:[Label,exHalfYear] := ""
	var_Chart:[Label,exQuarterYear] := ""
	var_Chart:[Label,exThirdMonth] := ""
	var_Chart:[Label,exHour] := ""
	var_Chart:[Label,exMinute] := ""
	var_Chart:[Label,exSecond] := ""
	var_Chart:OverviewZoomUnit := 52
oDCOCX_Exontrol1:Columns:Add("")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[CellSingleLine,var_Items:AddItem("Right click the Overview area and select a new scale"),0] := exCaptionWordWrap

587
How can I add icons or pictures to the scale or zoom area

local var_Chart as IChart

oDCOCX_Exontrol1:[HTMLPicture,"pic1"] := "c:\exontrol\images\zipdisk.gif"
oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:OverviewHeight := 48
	var_Chart:OverviewVisible := exOverviewShowAllVisible
	var_Chart:AllowOverviewZoom := exAlwaysZoom
	var_Chart:OverviewZoomCaption := "Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec"
	var_Chart:[Label,exYear] := ""
	var_Chart:[Label,exHalfYear] := ""
	var_Chart:[Label,exQuarterYear] := ""
	var_Chart:[Label,exThirdMonth] := ""
	var_Chart:[Label,exHour] := ""
	var_Chart:[Label,exMinute] := ""
	var_Chart:[Label,exSecond] := ""
	var_Chart:OverviewZoomUnit := 52

586
How can I change the width of the unit in the scale or zoom

local var_Chart as IChart

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:OverviewVisible := exOverviewShowAllVisible
	var_Chart:AllowOverviewZoom := exAlwaysZoom
	var_Chart:OverviewZoomCaption := "Year|½Year|¼Year|<img>3</img>|Third|<img>2</img>|<img>1</img>|Hour|Min|Sec"
	var_Chart:[Label,exYear] := ""
	var_Chart:[Label,exHalfYear] := ""
	var_Chart:[Label,exQuarterYear] := ""
	var_Chart:[Label,exThirdMonth] := ""
	var_Chart:[Label,exHour] := ""
	var_Chart:[Label,exMinute] := ""
	var_Chart:[Label,exSecond] := ""
	var_Chart:OverviewZoomUnit := 24

585
How can I a scale or zoom of the chart, when right clicking the chart's header

local var_Chart as IChart
local var_Items as IItems

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:OverviewVisible := exOverviewShowAllVisible
	var_Chart:AllowOverviewZoom := exZoomOnRClick
	var_Chart:OverviewZoomCaption := "Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"
	var_Chart:[Label,exYear] := ""
	var_Chart:[Label,exHalfYear] := ""
	var_Chart:[Label,exQuarterYear] := ""
	var_Chart:[Label,exThirdMonth] := ""
	var_Chart:[Label,exHour] := ""
	var_Chart:[Label,exMinute] := ""
	var_Chart:[Label,exSecond] := ""
	var_Chart:OverviewZoomUnit := 64
oDCOCX_Exontrol1:Columns:Add("")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:[CellSingleLine,var_Items:AddItem("Right click the Overview area and select a new scale"),0] := exCaptionWordWrap

584
How can I a customize the scale or zoom of the chart

local var_Chart as IChart

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:OverviewVisible := exOverviewShowAllVisible
	var_Chart:AllowOverviewZoom := exAlwaysZoom
	var_Chart:OverviewZoomCaption := "Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"
	var_Chart:[Label,exYear] := ""
	var_Chart:[Label,exHalfYear] := ""
	var_Chart:[Label,exQuarterYear] := ""
	var_Chart:[Label,exThirdMonth] := ""
	var_Chart:[Label,exHour] := ""
	var_Chart:[Label,exMinute] := ""
	var_Chart:[Label,exSecond] := ""
	var_Chart:OverviewZoomUnit := 64

583
How can I a scale or zoom the chart at runtime

local var_Chart as IChart

oDCOCX_Exontrol1:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:OverviewVisible := exOverviewShowAllVisible
	var_Chart:AllowOverviewZoom := exAlwaysZoom
	var_Chart:OverviewZoomCaption := "½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"

582
How can I a scale or zoom the chart at runtime

local var_Chart as IChart

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:OverviewVisible := exOverviewShowAllVisible
	var_Chart:AllowOverviewZoom := exAlwaysZoom
	var_Chart:OverviewZoomUnit := 24

581
How can I a programmatically select a date

oDCOCX_Exontrol1:Chart:MarkSelectDateColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:SelectLevel := 0
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:[SelectDate,SToD("20010102")] := true
oDCOCX_Exontrol1:Chart:[SelectDate,SToD("20010105")] := true

580
How can I change the color to select a date, when clicking the chart's header

oDCOCX_Exontrol1:Chart:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:Chart:MarkSelectDateColor := RGB(255,0,0)

579
How can I enable or disable selecting a date, when clicking the chart's header

oDCOCX_Exontrol1:Chart:BackColor := RGB(255,255,255)
oDCOCX_Exontrol1:Chart:MarkSelectDateColor := RGB(255,255,255)

578
How can I specify the color or the stype for non working hours


oDCOCX_Exontrol1:Chart:UnitScale := exHour
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 0
oDCOCX_Exontrol1:Chart:NonworkingHours := 127
oDCOCX_Exontrol1:Chart:NonworkingHoursPattern := exPatternYard
oDCOCX_Exontrol1:Chart:NonworkingHoursColor := RGB(255,0,0)

577
How can I specify the pattern or the stype for non working hours


oDCOCX_Exontrol1:Chart:UnitScale := exHour
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 0
oDCOCX_Exontrol1:Chart:NonworkingHours := 127
oDCOCX_Exontrol1:Chart:NonworkingHoursPattern := exPatternDiagCross

576
How can I specify the non working hours


oDCOCX_Exontrol1:Chart:UnitScale := exHour
oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 0
oDCOCX_Exontrol1:Chart:NonworkingHours := 127

575
How can I get the index of the level from the point or cursor
local var_LevelFromPoint as USUAL

var_LevelFromPoint := oDCOCX_Exontrol1:Chart:[LevelFromPoint,0,0]

574
How can I get the link from the point or cursor
local var_LinkFromPoint as USUAL

var_LinkFromPoint := oDCOCX_Exontrol1:Chart:[LinkFromPoint,0,0]

573
How can I disable or enable at runtime linking the bars
local var_Items as IItems

oDCOCX_Exontrol1:Chart:AllowLinkBars := true
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),"B1",nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010106"),SToD("20010114"),"B2",nil)

572
How can I check or verify if a date is a non working day

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add(AsString(oDCOCX_Exontrol1:Chart:[IsNonworkingDate,SToD("20010101"),nil]))

571
How can I check or verify if a date fits the chart's visible area

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add(AsString(oDCOCX_Exontrol1:Chart:[IsDateVisible,SToD("20010101")]))

570
How can I add a remove all non working days

oDCOCX_Exontrol1:Chart:NonworkingDays := 0
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:AddNonworkingDate(SToD("20010101"))
oDCOCX_Exontrol1:Chart:ClearNonworkingDates()

569
How can I add a remove a non working days


oDCOCX_Exontrol1:Chart:NonworkingDays := 0
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:AddNonworkingDate(SToD("20010101"))
oDCOCX_Exontrol1:Chart:RemoveNonworkingDate(SToD("20010101"))

568
How can I add a custom non working days


oDCOCX_Exontrol1:Chart:NonworkingDays := 0
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Chart:AddNonworkingDate(SToD("20010101"))
oDCOCX_Exontrol1:Chart:AddNonworkingDate(SToD("20010105"))

567
How can hide the non working days

oDCOCX_Exontrol1:Chart:ShowNonworkingDates := false

566
How can hide the non working days

oDCOCX_Exontrol1:Chart:NonworkingDays := 0

565
How can I let user adds new bars at runtime
local var_Items as IItems

oDCOCX_Exontrol1:Chart:AllowCreateBar := exCreateBarAuto
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddItem("Item 1")
	var_Items:AddItem("Item 2")

564
How can I change the width of the links between bars

local var_Items as IItems

oDCOCX_Exontrol1:Chart:LinksStyle := exLinkSolid
oDCOCX_Exontrol1:Chart:LinksWidth := 2
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),"B1",nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010106"),SToD("20010114"),"B2",nil)
	var_Items:AddLink("L1",var_Items:[FindItem,"Item 1",0,nil],"B1",var_Items:[FindItem,"Item 2",0,nil],"B2")

563
How can I change the style for the links between bars

local var_Items as IItems

oDCOCX_Exontrol1:Chart:LinksStyle := exLinkDashDotDot
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),"B1",nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010106"),SToD("20010114"),"B2",nil)
	var_Items:AddLink("L1",var_Items:[FindItem,"Item 1",0,nil],"B1",var_Items:[FindItem,"Item 2",0,nil],"B2")

562
How can I change the color for the links between bars

local var_Items as IItems

oDCOCX_Exontrol1:Chart:LinksColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),"B1",nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010106"),SToD("20010114"),"B2",nil)
	var_Items:AddLink("L1",var_Items:[FindItem,"Item 1",0,nil],"B1",var_Items:[FindItem,"Item 2",0,nil],"B2")

561
How can I hide the links between bars
local var_Items as IItems

oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),"B1",nil)
	var_Items:AddBar(var_Items:AddItem("Item 2"),"Task",SToD("20010106"),SToD("20010114"),"B2",nil)
	var_Items:AddLink("L1",var_Items:[FindItem,"Item 1",0,nil],"B1",var_Items:[FindItem,"Item 2",0,nil],"B2")
oDCOCX_Exontrol1:Chart:ShowLinks := exHideLinks

560
How can I display some grid line in the overview area

local var_Items as IItems

oDCOCX_Exontrol1:Chart:OverviewVisible := exOverviewShowAllVisible
oDCOCX_Exontrol1:Chart:OverviewLevelLines := 0
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010106"),SToD("20010114"),nil,nil)

559
How do I change the tooltip when the cursor hovers the overview area
local var_Items as IItems

oDCOCX_Exontrol1:Chart:OverviewVisible := exOverviewShowAllVisible
oDCOCX_Exontrol1:Chart:OverviewToolTip := "Tooltip on the overview"
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010106"),SToD("20010114"),nil,nil)

558
How do I remove the tooltip when the cursor hovers the overview area
local var_Items as IItems

oDCOCX_Exontrol1:Chart:OverviewVisible := exOverviewShowAllVisible
oDCOCX_Exontrol1:Chart:OverviewToolTip := ""
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

557
How do I change the selection color in the overview area
local var_Items as IItems

oDCOCX_Exontrol1:Chart:OverviewVisible := exOverviewShowAllVisible
oDCOCX_Exontrol1:Chart:OverviewSelBackColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

556
How do I change the background color for the overview area
local var_Items as IItems

oDCOCX_Exontrol1:Chart:OverviewVisible := exOverviewShowAllVisible
oDCOCX_Exontrol1:Chart:OverviewBackColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

555
How do I specify the height for the overview area
local var_Items as IItems

oDCOCX_Exontrol1:Chart:OverviewVisible := exOverviewShowAllVisible
oDCOCX_Exontrol1:Chart:OverviewHeight := 16
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

554
How do I show or hide the control's overview area

local var_Items as IItems

oDCOCX_Exontrol1:Chart:OverviewVisible := exOverviewShowAllVisible
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"Task",SToD("20010102"),SToD("20010104"),nil,nil)

553
How do I enable or disable resizing the bars at runtime

oDCOCX_Exontrol1:Chart:BarsAllowSizing := false

552
How do I get the bar from the point or cursor

METHOD OCX_Exontrol1MouseMove(Button,Shift,X,Y) CLASS MainDialog
	// MouseMove event - Occurs when the user moves the mouse.
	OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:[ItemFromPoint,-1,-1,c,h]) ))
	OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:Chart:[BarFromPoint,-1,-1]) ))
RETURN NIL

local var_Chart as IChart
local var_Items as IItems
local h1,h2,h3 as USUAL

oDCOCX_Exontrol1:BeginUpdate()
oDCOCX_Exontrol1:Columns:Add("Task")
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := SToD("20001229")
	var_Chart:[PaneWidth,false] := 64
	var_Chart:LevelCount := 2
var_Items := oDCOCX_Exontrol1:Items
	h1 := var_Items:AddItem("Task 1")
	var_Items:AddBar(h1,"Task",SToD("20010102"),SToD("20010104"),"K1",nil)
	h2 := var_Items:AddItem("Task 2")
	var_Items:AddBar(h2,"Task",SToD("20010104"),SToD("20010106"),"K2",nil)
	var_Items:AddLink("L1",h1,"K1",h2,"K2")
	h3 := var_Items:AddItem("Task 3")
	var_Items:AddBar(h3,"Task",SToD("20010108"),SToD("20010110"),"K3",nil)
	var_Items:AddLink("L2",h2,"K2",h3,"K3")
oDCOCX_Exontrol1:EndUpdate()

551
How do I specify the color of pattern for non working days

oDCOCX_Exontrol1:Chart:NonworkingDays := 66
oDCOCX_Exontrol1:Chart:NonworkingDaysPattern := exPatternVertical
oDCOCX_Exontrol1:Chart:NonworkingDaysColor := RGB(255,0,0)

550
How do I specify the type of pattern for non working days


oDCOCX_Exontrol1:Chart:NonworkingDays := 66
oDCOCX_Exontrol1:Chart:NonworkingDaysPattern := exPatternBrick

549
How do I specify the non working days

oDCOCX_Exontrol1:Chart:NonworkingDays := 66

548
How do I specify the non working days

oDCOCX_Exontrol1:Chart:NonworkingDays := 66

547
How do I add a predefined bar

local var_Items as IItems

oDCOCX_Exontrol1:Chart:Bars:Add("CustomBar"):Color := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20010101")
oDCOCX_Exontrol1:Columns:Add("Column")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:AddBar(var_Items:AddItem("Item 1"),"CustomBar",SToD("20010102"),SToD("20010104"),nil,nil)

546
How do I change the unit being displayed in the chart

oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 0
oDCOCX_Exontrol1:Chart:UnitScale := exWeek
oDCOCX_Exontrol1:Chart:UnitWidth := 64

545
How do I specify the prodefined tooltip being shown on the chart's header, when Zoom method is used


oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 0
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Label,exHalfYear] := ""
oDCOCX_Exontrol1:Chart:[Label,exQuarterYear] := ""
oDCOCX_Exontrol1:Chart:[Label,exMonth] := "<%m3%>"
oDCOCX_Exontrol1:Chart:[LabelToolTip,exMonth] := "Tooltip: <%mmmm%>"
oDCOCX_Exontrol1:Chart:Zoom(SToD("20070101"),SToD("20080101"),nil)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20070101")

544
How do I specify the prodefined labels being displayed on the chart, when Zoom method is used


oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 0
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Label,exHalfYear] := ""
oDCOCX_Exontrol1:Chart:[Label,exQuarterYear] := ""
oDCOCX_Exontrol1:Chart:[Label,exMonth] := "<%m3%>"
oDCOCX_Exontrol1:Chart:Zoom(SToD("20070101"),SToD("20080101"),nil)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20070101")

543
How do I scale or zoom the chart to a specified range of date


oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 0
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Label,exHalfYear] := ""
oDCOCX_Exontrol1:Chart:[Label,exQuarterYear] := ""
oDCOCX_Exontrol1:Chart:[Label,exMonth] := "<%m3%>"
oDCOCX_Exontrol1:Chart:Zoom(SToD("20070101"),SToD("20080101"),nil)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20070101")

542
How do I scale or zoom the chart to a specified range of date


oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 0
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:Zoom(SToD("20070101"),SToD("20070701"),nil)
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20070101")

541
How do I find the next date or previous date
local var_Chart as IChart

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:FirstVisibleDate := var_Chart:[NextDate,SToD("20020101"),exDay,1]

540
How can I change the color for the grid lines in the chart

local var_Level as ILevel

oDCOCX_Exontrol1:Chart:DrawGridLines := exAllLines
oDCOCX_Exontrol1:Chart:LevelCount := 2
var_Level := oDCOCX_Exontrol1:Chart:[Level,1]
	var_Level:DrawGridLines := true
	var_Level:GridLineColor := RGB(255,0,0)

539
How can I draw, show or hide the grid lines in the chart


oDCOCX_Exontrol1:Chart:DrawGridLines := exAllLines
oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:[Level,1]:DrawGridLines := true

538
How do I change the color to highlight the today in the chart

oDCOCX_Exontrol1:Chart:MarkTodayColor := RGB(255,0,0)

537
How do I hide or stop highlighting the today area in the chart
local var_Chart as IChart

var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:MarkTodayColor := var_Chart:BackColor

536
Is there any function to get the date in the format that I use for levels, to layout my chart's header
local h as USUAL

h := oDCOCX_Exontrol1:Chart:[FormatDate,SToD("20020101"),"<%yyyy%> <%mmmm%> <%d%> <%dddd%>"]
oDCOCX_Exontrol1:Columns:Add(AsString(h))

535
How can I get the date from the point, cursor
METHOD OCX_Exontrol1MouseMove(Button,Shift,X,Y) CLASS MainDialog
	// MouseMove event - Occurs when the user moves the mouse.
	OutputDebugString(String2Psz( AsString(oDCOCX_Exontrol1:Chart:[DateFromPoint,-1,-1]) ))
RETURN NIL



534
How can I show or hide the small ticker that shows up when the cursor hovers the chart area

oDCOCX_Exontrol1:Chart:DrawDateTicker := true

533
How can I change the first visible date in the chart

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")

532
How can I scroll or ensure that a specified date time is visible in the chart

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:FirstVisibleDate := SToD("20020101")

531
How can I scroll or ensure that a specified date time is visible to the right side of the chart or control

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:ScrollTo(SToD("20020101"),2)

530
How can I scroll or ensure that a specified date time is visible

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:ScrollTo(SToD("20020101"),2)

529
How can I show or hide the the tooltip being shown when the user scrolls the chart

oDCOCX_Exontrol1:Chart:ToolTip := ""

528
How can I change the format of the tooltip when the user scrolls the chart

oDCOCX_Exontrol1:Chart:ToolTip := "ToolTip: <b><%dddd%></b>"

527
How can I hide the chart's scroll bar

oDCOCX_Exontrol1:Chart:ScrollBar := false

526
How can I specify the first day of the week

oDCOCX_Exontrol1:Chart:LevelCount := 2
oDCOCX_Exontrol1:Chart:FirstWeekDay := exMonday

525
How do I change the AM or PM shortcuts in the chart's header
local var_Level as ILevel

oDCOCX_Exontrol1:Chart:UnitWidth := 64
oDCOCX_Exontrol1:Chart:AMPM := "A P"
var_Level := oDCOCX_Exontrol1:Chart:[Level,0]
	var_Level:Label := "<%h%> <%AM/PM%>"
	var_Level:Unit := exHour

524
How do I change the name for the months, being displayed in the chart's header

local var_Level as ILevel

oDCOCX_Exontrol1:Chart:UnitWidth := 64
oDCOCX_Exontrol1:Chart:MonthNames := "Ianuarie Februarie Martie Aprilie Mai Iunie Iulie August Septembrie Octombrie Noiembrie Decembrie"
var_Level := oDCOCX_Exontrol1:Chart:[Level,0]
	var_Level:Label := "<b><%mmmm%></b>"
	var_Level:Unit := exMonth

523
How do I change the name for the week days, being displayed in the chart's header


oDCOCX_Exontrol1:Chart:UnitWidth := 64
oDCOCX_Exontrol1:Chart:WeekDays := "Duminica Luni Marti Miercuri Joi Vineri Simbata"
oDCOCX_Exontrol1:Chart:[Level,0]:Label := "<b><%mm%></b>/<%dddd%>"

522
How do I access a level in the chart's header

oDCOCX_Exontrol1:Chart:UnitWidth := 64
oDCOCX_Exontrol1:Chart:[Level,0]:Label := "<b><%mm%></b>/<%dd%>"

521
How can I change the color for the grid lines between the leves in the chart's header

oDCOCX_Exontrol1:GridLineColor := RGB(255,0,0)
oDCOCX_Exontrol1:Chart:LevelCount := 2

520
How can I show or hide the grid lines between the leves in the chart's header

local var_Chart as IChart

oDCOCX_Exontrol1:GridLineColor := RGB(255,0,0)
var_Chart := oDCOCX_Exontrol1:Chart
	var_Chart:LevelCount := 2
	var_Chart:[Level,0]:DrawTickLines := exLevelNoLine
	var_Chart:[Level,1]:DrawTickLines := exLevelNoLine

519
How do I change the foreground color for the chart's header


oDCOCX_Exontrol1:Chart:ForeColorLevelHeader := RGB(255,0,0)

518
How do I change the background color for the chart's header


oDCOCX_Exontrol1:Chart:BackColorLevelHeader := RGB(255,0,0)

517
How do I specify the chart's foreground color

oDCOCX_Exontrol1:Chart:ForeColor := RGB(255,0,0)

516
How do I specify the chart's background color

oDCOCX_Exontrol1:Chart:BackColor := RGB(255,0,0)

515
How do I put a picture on the center of the chart

// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Chart:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:Chart:PictureDisplay := MiddleCenter

514
How do I resize/stretch a picture on the chart's background

// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Chart:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:Chart:PictureDisplay := Stretch

513
How do I put a picture on the chart's center right bottom side

// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Chart:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:Chart:PictureDisplay := LowerRight

512
How do I put a picture on the chart's center left bottom side

// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Chart:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:Chart:PictureDisplay := LowerLeft

511
How do I put a picture on the chart's center top side

// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Chart:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:Chart:PictureDisplay := UpperCenter

510
How do I put a picture on the chart's right top corner

// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Chart:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:Chart:PictureDisplay := UpperRight

509
How do I put a picture on the chart's left top corner

// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Chart:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
oDCOCX_Exontrol1:Chart:PictureDisplay := UpperLeft

508
How do I put a picture on the chart's background

// Generate Source for 'OLE Automation(stdole2.tlb)' server from Tools\Automation Server... with the PREFIX std
oDCOCX_Exontrol1:Chart:Picture := oDCOCX_Exontrol1:ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")

507
How to specify the width for the left or side pane

oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 128

506
How do I display the header of the chart using multiple levels, lines


oDCOCX_Exontrol1:Chart:LevelCount := 2

505
How do change the width of the chart's area

oDCOCX_Exontrol1:Chart:[PaneWidth,true] := 256

504
How do I show or hide the control's chart area

oDCOCX_Exontrol1:Chart:[PaneWidth,true] := 0

503
How do I access the chart's area of the control

oDCOCX_Exontrol1:Chart:[PaneWidth,false] := 64

502
How can I select a cells like in excel
local var_Items as IItems

oDCOCX_Exontrol1:SingleSel := false
oDCOCX_Exontrol1:FullRowSelect := exRectSel
oDCOCX_Exontrol1:MarkSearchColumn := false
oDCOCX_Exontrol1:SearchColumnIndex := -1
oDCOCX_Exontrol1:Columns:Add("Column1")
oDCOCX_Exontrol1:Columns:Add("Column2")
oDCOCX_Exontrol1:Columns:Add("Column3")
var_Items := oDCOCX_Exontrol1:Items
	var_Items:DefaultItem := var_Items:AddItem(0)
	var_Items:[CellValue,0,1] := 1
	var_Items:[CellValue,0,2] := 2
	var_Items:DefaultItem := var_Items:AddItem(3)
	var_Items:[CellValue,0,1] := 4
	var_Items:[CellValue,0,2] := 5
	var_Items:DefaultItem := var_Items:AddItem(6)
	var_Items:[CellValue,0,1] := 7
	var_Items:[CellValue,0,2] := 8

501
How can I select a multiple column
local var_Items as IItems

oDCOCX_Exontrol1:MarkSearchColumn := false
oDCOCX_Exontrol1:SingleSel := false
oDCOCX_Exontrol1:FullRowSelect := exRectSel
IColumn{oDCOCX_Exontrol1:Columns:Add("Column1")}:Selected := true
oDCOCX_Exontrol1:Columns:Add("Column2")
IColumn{oDCOCX_Exontrol1:Columns:Add("Column3")}:Selected := true
var_Items := oDCOCX_Exontrol1:Items
	var_Items:DefaultItem := var_Items:AddItem(0)
	var_Items:[CellValue,0,1] := 1
	var_Items:[CellValue,0,2] := 2
	var_Items:DefaultItem := var_Items:AddItem(3)
	var_Items:[CellValue,0,1] := 4
	var_Items:[CellValue,0,2] := 5
	var_Items:DefaultItem := var_Items:AddItem(6)
	var_Items:[CellValue,0,1] := 7
	var_Items:[CellValue,0,2] := 8
oDCOCX_Exontrol1:Items:SelectAll()